import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  /* config options here */
};

module.exports = {

  async rewrites() {
    return [
      //接口请求 前缀带上/api-text/
      { source: '/api-backend/:path*', 
        destination: 'http://localhost:8080/:path*' },

    ]
  },
}

export default nextConfig;
